﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cooking
{
    public abstract class ComplexFoodItem
    {
        #region properties backing fields

        private List<FoodItem> _Components;
        #endregion


        /// <summary>
        /// Food items, that can be extracted from this item individually.
        /// For example - white and yolk are egg components, but not ingridients:
        /// they can be extracted from egg for individual use, but new egg cannot be
        /// "cooked" from white and yolk.
        /// </summary>
        public List<FoodItem> Components
        {
            get { return _Components; }
            private set { _Components = value; }
        }

    }
}
